package com.jic.point.api;


import com.jic.common.base.vo.RestResult;
import com.jic.point.rest.request.PointRecordGrantStatus;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "jic-point", path = "/api/point/centre")
@Api(tags = " [积分中心接口]")
public interface PointCentreApi {

    @PostMapping("/getPointRecordGrantStatus")
    @ApiOperation(value = "  按流水号、来源查询积分发放状态")
    RestResult<?> getPointRecordGrantStatus(@RequestBody PointRecordGrantStatus request);
}
